import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import './assets/css/reset.css'
import './assets/css/iconfont/iconfont.css'
// import './assets/css/iconfont.css'
import './assets/styles/index.less' // global css

import '@/permission' // permission control

import 'img-comparison-slider'//图片比较滑块组件
Vue.config.ignoredElements = [/img-comparison-slider/];

Vue.config.productionTip = false

import scroll from 'vue-seamless-scroll'//自动滚动组件
Vue.use(scroll)

//剪切板
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)

//页面引导提示组件
import Driver from "driver.js"
import "driver.js/dist/driver.min.css"
Vue.prototype.$driver = new Driver({
  className: "scoped-class",
  animate: true,
  opacity: 0.75,
  padding: 10,
  allowClose: true,
  overlayClickNext: true,
  doneBtnText: "完成",
  closeBtnText: "关闭",
  nextBtnText: "下一步",
  prevBtnText: "上一步"
})

//鼠标电子签名
import vueEsign from "vue-esign"
Vue.use(vueEsign)

import axios from 'axios'
Vue.prototype.$axios = axios

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
